package com.mzpai.product.service.impl;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.mzpai.product.mapper.StoreProductDescriptionMapper;
import com.mzpai.product.model.StoreProductDescription;
import com.mzpai.product.service.StoreProductDescriptionService;
import com.mzpai.service.impl.BaseServiceImpl;
/**
 *
 * <b>商品品牌 | Service</b><br>
 *
 * guguanfei 2021-03-16 18:48:49
 * 
 *  @version 1.0.0
 *
 */
@Service
public class StoreProductDescriptionServiceImpl extends BaseServiceImpl<StoreProductDescription> implements StoreProductDescriptionService {

	Logger logger = LoggerFactory.getLogger(StoreProductDescriptionServiceImpl.class);

	@Autowired 
	private StoreProductDescriptionMapper mapper;

	@Override
	public List<StoreProductDescription> getListByProductId(Integer productId) {
		Map<String, Object> map = new HashMap<String, Object>();
		map.put("productId", productId);
		return mapper.getList(map);
	}
}